﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using YiDa.Domain;

namespace YiDa.Repository.EntityFramework.Test.Modal
{
    public class School : AggregateRoot
    {
        public School()
        {
            SchoolClasses = new List<SchoolClass>();
        }

        public string Name { get; set; }

        public string Address { get; set; }

        public virtual List<SchoolClass> SchoolClasses { get; set; }
    }
}
